accept2

Abstracts away different behaviors from Windows - Posix. Posix throws an exception, while Windows return a client which is not alive.

Socket
accept2
(
Socket host
)

Parameters

host Socket

The socket which will accept

Return Value

Type: Socket

Accepted socket or null.

Meta